projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba8046
)
Respect buffer-local message-fcc-handler-function
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 26 Jan 2017 20:38:40 +0000
(21:38 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 26 Jan 2017 20:38:40 +0000
(21:38 +0100)
* lisp/gnus/message.el (message-do-fcc): Copy the local
variables from the Message buffer so that local settings of
`message-fcc-handler-function' etc are respected (bug#21174).
lisp/gnus/message.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/message.el
b/lisp/gnus/message.el
index 7cff8b80a213ca7240cdaf7f023c0b793049f610..50d2380dd7b6e14c06ab2675fff3fe9d88b9be4b 100644
(file)
--- a/
lisp/gnus/message.el
+++ b/
lisp/gnus/message.el
@@
-5399,6
+5399,7
@@
Otherwise, generate and save a value for `canlock-password' first."
(when file
(with-temp-buffer
(insert-buffer-substring buf)
+ (message-clone-locals buf)
(message-encode-message-body)
(save-restriction
(message-narrow-to-headers)